﻿package _me
{
	import _Pan3D.base.Camera3D;
	import _Pan3D.base.Focus3D;
	import _Pan3D.base.MouseVO;
	import _Pan3D.base.Object3D;
	import _Pan3D.display3D.Display3DMovie;
	import _Pan3D.role.Hero;
	import _Pan3D.role.Role;
	
	import flash.display.BitmapData;
	import flash.display.MovieClip;
	import flash.display.Stage;
	import flash.display.Stage3D;
	import flash.display3D.*;
	import flash.display3D.textures.Texture;
	import flash.geom.Matrix3D;
	
	import newPan3d.content.build.BuildLevel;
	import newPan3d.content.jineng.HuoqiuLevel;
	import newPan3d.content.scene.SceneLevel;
	import newPan3d.content.self.SelfDisplay3DMove;
	import newPan3d.content.skill.SkillLevel;


	// --------------MSN:lation_pan@live.cn  QQ: 3423526------------- //
	public class Scene_data
	{
		public static var listTxt:String="Pan3d.me";
		public static var framenum:Number=60;
		public static var root:MovieClip;
		public static var stage:Stage;
		public static var stage3D:Stage3D;
		public static var context3D:Context3D;
		public static var program3D:Program3D;
		public static var texShadowMap:Texture;
		public static var _sunMatrix:Matrix3D=new Matrix3D();

		public static var cam3D:Camera3D=new Camera3D(new Object);
		public static var sun3D:Camera3D=new Camera3D(new Object);
		public static var light3D:Camera3D=new Camera3D(new Object);

		public static var focus3D:Focus3D=new Focus3D;
		public static var mouseInfo:MouseVO=new MouseVO();
		public static var shaderDictionary:Array=new Array();

		public static var ready:Boolean=false;
		public static var fileRoot:String="../_File/nijia2/";
		public static var groundBitmapData:BitmapData=new BitmapData(1024, 1024, false);
		public static var grounHightMapSize:int=1024; //存地形高度图的宽度，关联生成的
		public static var grounHightMapScale:Number=10 //比例尺//就是单位像素所代表胡真实宽度;
		public static var laseScanningPesition:Object3D=new Object3D();

		public static var radd:Number=0;
		public static var gadd:Number=0;
		public static var badd:Number=0;

		public static var sceneLightText:Texture;
		public static var groundLightText:Texture;
		public static var shenduText:Texture;

		public static var totalNum:int=0;
		public static var funToScanShodar:Function
		public static var stageWidth:int=1024;
		public static var stageHeight:int=600;
		
		public static var self3DMove:Hero;
		public static var skillLevel:SkillLevel;
		public static var huoqiuLevel:HuoqiuLevel;

		public static function loadModeOk(str:String):void
		{
			totalNum++
			trace("loadNum",totalNum);
			if (totalNum >85)
			{
			
				
				funToScanShodar();
			}

		}


		

	}
}
